<?php

// This php retrieves the User information
// And place it as content between <column_content> xml tags
// And these information will be placed as headers at datagrid

include("DB_Config.php");

//header("Content-type: text/xml");

Public int function GetUserInfo()
{
    $servername=DBConfig::$dbHost;
    $username=DBConfig::$dbUserName ;
    
    $conn=  mysql_connect($servername,$username)or die(mysql_error());  
	mysql_select_db("test",$conn);  
	//$sql="select * from users where name='$_GET[userlogin]' and password='$_GET[password]'";  		
    $result=mysql_query($sql,$conn) or die(mysql_error());  
	return  mysql_num_rows($result); 

}

?>   